package chapter02;

public class Test03_Authority {
    public static void main(String[] args) {
        Person p = new Person();
        //protected权限可以在本包中访问
        p.name = "张三";
        System.out.println(p.name);
    }
}
class Person{
    protected String name;
}
